import { useState } from "react";
import { Routes, Route } from "react-router-dom";
import './App.css'
import { initTheme } from './theme';
initTheme();
// 导入组件

// 赵航组件
import Login from "./components/zh/Login.jsx";
import Gg from "./components/zh/Gg.jsx";
import Ydy1 from "./components/zh/Ydy1.jsx";
import Ydy2 from "./components/zh/Ydy2.jsx";
import Ydy3 from "./components/zh/Ydy3.jsx";
import Zh from "./components/zh/Zh.jsx";
import Zc from "./components/zh/Zc.jsx";
import Sjdl from "./components/zh/Sjdl.jsx";
import Xin from "./components/zh/Xin.jsx";
import Qrt from "./components/zh/Qrt.jsx";
// 张芯芯组件
import Shou from "./components/zxx/Shou";
import Search from "./components/zxx/Search";
import Tar from "./components/zxx/Tarbar";
import Zxmeassage from "./components/zxx/Zxmessage";
import Collect from "./components/zxx/Collect"
// 李名扬组件
import Lmy from "./components/lmy/Lmy.jsx";
import LmyMessage from "./components/lmy/Lmessage.jsx";
import Lourself from "./components/lmy/Lourself.jsx";
import Lserity from "./components/lmy/Lserity.jsx";
import Lchangemi from "./components/lmy/Lchangemi.jsx";
import Lnotify from "./components/lmy/Lnotify.jsx";
// 杨雨涛组件
import Xiaoxi from "./components/yyt/xiaoxi.js";
import Tongxi from "./components/yyt/App.jsx";
import Liao from "./components/yyt/Liao.jsx";
import Dian from "./components/yyt/dian.jsx";
import Resetmi from "./components/yyt/resetmi.jsx";
// 蔡红岩组件
import CDate from "./components/chy/hhh.jsx";

import CShaix from "./components/chy/Shaix.jsx";
// 闫嘉辉组件
import Apps from './components/yjh/Appointment'
import Saddress from './components/yjh/SelectAddress'
import Scoupon from './components/yjh/SelectCoupon'
import Gopage from './components/yjh/ConfirmPage'
import Pays from './components/yjh/Paymentpage'
import Map from './components/yjh/MapContainer2'
import Pay from './components/yjh/Pleasepay.jsx'
import See from './components/yjh/Seedetails.jsx'
// 陈子尚
import Czs_type from "./components/czs/Czs_type.jsx";
import Czs_typelist from "./components/czs/Czs_typelist.jsx";
import Czs_details from "./components/czs/Czs_details.jsx";
import Czs_settlement from "./components/czs/Czs_settlement.jsx";

function App() {
  return (
    <div>
      <Routes>
        <Route path="/lourself" element={<Lourself />} />
        <Route path="/lserity" element={<Lserity />} />
        <Route path="/lchangemi" element={<Lchangemi />} />
        <Route path="/lnotify" element={<Lnotify />} />
        {/* 赵航路由 */}
        <Route path="/gg" element={<Gg />} />
        <Route path="/login" element={<Login />} />
        <Route path="/xin" element={<Xin />}></Route>
        <Route path="/lmsg" element={<LmyMessage />} />
        <Route path="/ydy1" element={<Ydy1 />} />
        <Route path="/ydy2" element={<Ydy2 />} />
        <Route path="/ydy3" element={<Ydy3 />} />
        <Route path="/zh" element={<Zh />} />
        <Route path="/zc" element={<Zc />} />
        <Route path="/sjdl" element={<Sjdl />}></Route>
        <Route path="/qrt" element={<Qrt />} />
        {/* 张芯芯路由 */}
        <Route path="/tar" element={<Tar />}>
          <Route path="shou" element={<Shou />} />
          <Route path="lmy" element={<Lmy />} />
          <Route path="cdate" element={<CDate />} />
          <Route path="shaix" element={<CShaix />} />
          <Route path="xiaoxi" element={<Xiaoxi />}>
            <Route path="liao" element={<Liao />} />
            <Route path="dian" element={<Dian />} />
          </Route>
        </Route>
        <Route path="/zxmessage" element={<Zxmeassage />} />
        <Route path="/search" element={<Search />} />
        <Route path="/collect" element={<Collect />} />
        {/* 杨雨涛路由 */}

        <Route path="/resetmi" element={<Resetmi />} />

        <Route path="/tongxi" element={<Tongxi />} />

        {/* 陈子尚路由 */}

        <Route path="/czs_type" element={<Czs_type />} />
        <Route path="/czs_typelist" element={<Czs_typelist />} />
        <Route path="/czs_details" element={<Czs_details />} />
        <Route path="/czs_settlement" element={<Czs_settlement />} />

        {/* 闫嘉辉路由 */}

        <Route path="/apps" element={<Apps />} />
        <Route path="/address" element={<Saddress />} />
        <Route path="/coupon" element={<Scoupon />} />
        <Route path="/confirmpage" element={<Gopage />} />
        <Route path="/pays" element={<Pays />} />
        <Route path="/maps" element={<Map />} />
        <Route path="/pay" element={<Pay />} />
        <Route path="/see" element={<See />} />




        {/* 蔡红岩路由 */}
        
      </Routes>
    </div>
  );
}

export default App;
